    
<? 
require_once 'includes/funciones.php';
include ("seguridad.php");
conexion();
?>
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title><?php titulo();?></title>
<link rel="stylesheet" href="2col_rightNav.css" type="text/css" />
<script type="text/javascript"  src="plugins/jquery.js"></script>
<link rel="stylesheet"  href="plugins/jq_ui/css/custom-theme/jquery-ui-1.8.14.custom.css">
<script type="text/javascript" src="plugins/jquery_validate/jquery.validate.js"></script>
<script type="text/javascript"  src="plugins/thickbox/thickbox.js"></script>
<link rel="stylesheet" href="plugins/thickbox/thickbox.css" type="text/css" media="screen" />

	


<script language="JavaScript"  type="text/JavaScript">
    $(document).ready(function(){
        $("#subtipo").change(function(event){
            var idm = $("#subtipo").find(':selected').val();  
            $("#resultado").load('bsubtipo.php?var='+idm);
        });

    });

</script>

<script language="JavaScript"  type="text/JavaScript">
    $(document).ready(function(){
        $("#tipo").change(function(event){
            var id = $("#tipo").find(':selected').val();
                $("#subtipo").load('selectsubtipob.php?var='+id);
				$("#resultado").load('btipo.php?var='+id);

        });

    });
</script>	
<style type="text/css">



</style>

</head>
<!-- The structure of this file is exactly the same as 2col_leftNav.html;
     the only difference between the two is the stylesheet they use -->

<body>
    <div   class="supercontendeor">
 <div id="encabezado">
   	<?php
	require_once("encabezado.php");

	?> 
</div>
<!-- fin encabesado -->
<div id="content">
  <div id="breadCrumb"></div>
  <h2 id="pageName">Buscar Capa Por Tipo </h2>
  <div class="feature">
    <form id="form1" name="form1" method="post" action="">

  <label> </label><label></label>
  <br>
  <label></label>
  
    <p>&nbsp;</p>
    <table width="710" border="0">
      <tr>
        <td width="138"><label>
          <div align="right">Tipo</div>
          </label>          </td>
        <td width="210">
		  <select name="tipo" id="tipo">
            <option>Seleccionar Tipo</option>
            <option value="Vectorial">Vectorial</option>
            <option value="Raster">Raster</option>
          </select></td>
        <td width="348" rowspan="3"><div id="dptoayuda"></div></td>
      </tr>
      <tr>
        <td><label>
          <div align="right">Subtipo </div>
          </label></td>
        <td>
		  <select name="subtipo" id="subtipo">
		  
            <option>Seleccionar Subtipo</option>
          </select></td>
      </tr>
      
      
      
      <tr>
        <td align="right">&nbsp;</td>
        <td>&nbsp;</td>
        </tr>
    </table>
    <p>&nbsp;</p>
    </form>
    
    
    <p>
    <hr>

<div id="resultado"  class="resultado">
      </div>
     
  </div>
  <div class="story">
    <h3>&nbsp;</h3>
  </div>
  <div class="story"></div>
</div>
<!--end content -->
<div id="menuderecha">
     	<?php
	require_once("menuderecha.php");

	?> 
</div>
<!--fin menuderecha -->
<div id="footer">
     	<?php
	require_once("footer.php");

	?> 
</div>

<br /></div>
</body>
</html>